package com.story.modular.app.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.story.common.persistence.model.CategoryClass;
import com.story.common.persistence.model.apphome;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface apphomeMapper extends BaseMapper<apphome> {
    List<Map<String,Object>> queryPageList(@Param("page") Page<apphome> page, @Param("name") String name,@Param("classtypeId") Integer classtypeId,@Param("pageclassId") Integer pageclassId);
    List<Map<String,Object>> queryList(@Param("classtypeId") Integer classtypeId,@Param("pageclassId") Integer pageclassId,@Param("name") String name);


//    int deleteByPrimaryKey(Integer id);
//
    int insertSelective(apphome record);
    apphome getByid(Integer id);
//
//    apphome selectByPrimaryKey(Integer id);
//
    int updateByPrimaryKeySelective(apphome record);
//
//    int updateByPrimaryKey(apphome record);

}